var josh = {
	username: '',
	password: '',
	setAccount: function() {
		document.getElementsByName('DDDDD')[1].value = this.username
		document.getElementsByName('upass')[1].value = this.password
	},
	selectOptions: function() {
		document.getElementsByName('network')[1].click()
	},
	dologin: function() {
		this.setAccount()
		this.selectOptions()
		document.getElementsByName('0MKKey')[1].click()
	}
}

window.addEventListener("load", function() {
	setTimeout(josh.dologin.call(josh), 100)
})